Optimal. Leaf size=115 \[ \frac {\sqrt {-a+b x^2+c x^4}}{4 a x^4}+\frac {3 b \sqrt {-a+b x^2+c x^4}}{8 a^2 x^2}-\frac {\left (3 b^2+4 a c\right ) \tan ^{-1}\left (\frac {2 a-b x^2}{2 \sqrt {a} \sqrt {-a+b x^2+c x^4}}\right )}{16 a^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 115, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.227, Rules used = {1128, 758, 820,
738, 210} \begin {gather*} -\frac {\left (4 a c+3 b^2\right ) \text {ArcTan}\left (\frac {2 a-b x^2}{2 \sqrt {a} \sqrt {-a+b x^2+c x^4}}\right )}{16 a^{5/2}}+\frac {3 b \sqrt {-a+b x^2+c x^4}}{8 a^2 x^2}+\frac {\sqrt {-a+b x^2+c x^4}}{4 a x^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 210
Rule 738
Rule 758
Rule 820
Rule 1128
Rubi steps
\begin {align*} \int \frac {1}{x^5 \sqrt {-a+b x^2+c x^4}} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {1}{x^3 \sqrt {-a+b x+c x^2}} \, dx,x,x^2\right )\\ &=\frac {\sqrt {-a+b x^2+c x^4}}{4 a x^4}+\frac {\text {Subst}\left (\int \frac {\frac {3 b}{2}+c x}{x^2 \sqrt {-a+b x+c x^2}} \, dx,x,x^2\right )}{4 a}\\ &=\frac {\sqrt {-a+b x^2+c x^4}}{4 a x^4}+\frac {3 b \sqrt {-a+b x^2+c x^4}}{8 a^2 x^2}+\frac {\left (3 b^2+4 a c\right ) \text {Subst}\left (\int \frac {1}{x \sqrt {-a+b x+c x^2}} \, dx,x,x^2\right )}{16 a^2}\\ &=\frac {\sqrt {-a+b x^2+c x^4}}{4 a x^4}+\frac {3 b \sqrt {-a+b x^2+c x^4}}{8 a^2 x^2}-\frac {\left (3 b^2+4 a c\right ) \text {Subst}\left (\int \frac {1}{-4 a-x^2} \, dx,x,\frac {-2 a+b x^2}{\sqrt {-a+b x^2+c x^4}}\right )}{8 a^2}\\ &=\frac {\sqrt {-a+b x^2+c x^4}}{4 a x^4}+\frac {3 b \sqrt {-a+b x^2+c x^4}}{8 a^2 x^2}-\frac {\left (3 b^2+4 a c\right ) \tan ^{-1}\left (\frac {2 a-b x^2}{2 \sqrt {a} \sqrt {-a+b x^2+c x^4}}\right )}{16 a^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.21, size = 95, normalized size = 0.83 \begin {gather*} \frac {\left (2 a+3 b x^2\right ) \sqrt {-a+b x^2+c x^4}}{8 a^2 x^4}+\frac {\left (-3 b^2-4 a c\right ) \tan ^{-1}\left (\frac {\sqrt {c} x^2-\sqrt {-a+b x^2+c x^4}}{\sqrt {a}}\right )}{8 a^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 149, normalized size = 1.30
method | result | size |
risch | \(-\frac {\left (-c \,x^{4}-b \,x^{2}+a \right ) \left (3 b \,x^{2}+2 a \right )}{8 a^{2} x^{4} \sqrt {c \,x^{4}+b \,x^{2}-a}}-\frac {c \ln \left (\frac {-2 a +b \,x^{2}+2 \sqrt {-a}\, \sqrt {c \,x^{4}+b \,x^{2}-a}}{x^{2}}\right )}{4 a \sqrt {-a}}-\frac {3 b^{2} \ln \left (\frac {-2 a +b \,x^{2}+2 \sqrt {-a}\, \sqrt {c \,x^{4}+b \,x^{2}-a}}{x^{2}}\right )}{16 a^{2} \sqrt {-a}}\) | \(148\) |
default | \(\frac {\sqrt {c \,x^{4}+b \,x^{2}-a}}{4 a \,x^{4}}+\frac {3 b \sqrt {c \,x^{4}+b \,x^{2}-a}}{8 a^{2} x^{2}}-\frac {3 b^{2} \ln \left (\frac {-2 a +b \,x^{2}+2 \sqrt {-a}\, \sqrt {c \,x^{4}+b \,x^{2}-a}}{x^{2}}\right )}{16 a^{2} \sqrt {-a}}-\frac {c \ln \left (\frac {-2 a +b \,x^{2}+2 \sqrt {-a}\, \sqrt {c \,x^{4}+b \,x^{2}-a}}{x^{2}}\right )}{4 a \sqrt {-a}}\) | \(149\) |
elliptic | \(\frac {\sqrt {c \,x^{4}+b \,x^{2}-a}}{4 a \,x^{4}}+\frac {3 b \sqrt {c \,x^{4}+b \,x^{2}-a}}{8 a^{2} x^{2}}-\frac {3 b^{2} \ln \left (\frac {-2 a +b \,x^{2}+2 \sqrt {-a}\, \sqrt {c \,x^{4}+b \,x^{2}-a}}{x^{2}}\right )}{16 a^{2} \sqrt {-a}}-\frac {c \ln \left (\frac {-2 a +b \,x^{2}+2 \sqrt {-a}\, \sqrt {c \,x^{4}+b \,x^{2}-a}}{x^{2}}\right )}{4 a \sqrt {-a}}\) | \(149\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.52, size = 126, normalized size = 1.10 \begin {gather*} -\frac {3 \, b^{2} \arcsin \left (-\frac {b}{\sqrt {b^{2} + 4 \, a c}} + \frac {2 \, a}{\sqrt {b^{2} + 4 \, a c} x^{2}}\right )}{16 \, a^{\frac {5}{2}}} - \frac {c \arcsin \left (-\frac {b}{\sqrt {b^{2} + 4 \, a c}} + \frac {2 \, a}{\sqrt {b^{2} + 4 \, a c} x^{2}}\right )}{4 \, a^{\frac {3}{2}}} + \frac {3 \, \sqrt {c x^{4} + b x^{2} - a} b}{8 \, a^{2} x^{2}} + \frac {\sqrt {c x^{4} + b x^{2} - a}}{4 \, a x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.40, size = 230, normalized size = 2.00 \begin {gather*} \left [-\frac {{\left (3 \, b^{2} + 4 \, a c\right )} \sqrt {-a} x^{4} \log \left (\frac {{\left (b^{2} - 4 \, a c\right )} x^{4} - 8 \, a b x^{2} - 4 \, \sqrt {c x^{4} + b x^{2} - a} {\left (b x^{2} - 2 \, a\right )} \sqrt {-a} + 8 \, a^{2}}{x^{4}}\right ) - 4 \, \sqrt {c x^{4} + b x^{2} - a} {\left (3 \, a b x^{2} + 2 \, a^{2}\right )}}{32 \, a^{3} x^{4}}, \frac {{\left (3 \, b^{2} + 4 \, a c\right )} \sqrt {a} x^{4} \arctan \left (\frac {\sqrt {c x^{4} + b x^{2} - a} {\left (b x^{2} - 2 \, a\right )} \sqrt {a}}{2 \, {\left (a c x^{4} + a b x^{2} - a^{2}\right )}}\right ) + 2 \, \sqrt {c x^{4} + b x^{2} - a} {\left (3 \, a b x^{2} + 2 \, a^{2}\right )}}{16 \, a^{3} x^{4}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{x^{5} \sqrt {- a + b x^{2} + c x^{4}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 224 vs.
\(2 (96) = 192\).
time = 9.12, size = 224, normalized size = 1.95 \begin {gather*} \frac {{\left (3 \, b^{2} + 4 \, a c\right )} \arctan \left (-\frac {\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} - a}}{\sqrt {a}}\right )}{8 \, a^{\frac {5}{2}}} - \frac {3 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} - a}\right )}^{3} b^{2} + 4 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} - a}\right )}^{3} a c + 5 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} - a}\right )} a b^{2} - 4 \, {\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} - a}\right )} a^{2} c - 8 \, a^{2} b \sqrt {c}}{8 \, {\left ({\left (\sqrt {c} x^{2} - \sqrt {c x^{4} + b x^{2} - a}\right )}^{2} + a\right )}^{2} a^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{x^5\,\sqrt {c\,x^4+b\,x^2-a}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________